package chunithmlauncher;

import chunithmlauncher.option.ChunithmOption;
import chunithmlauncher.utils.JsonUtil;
import de.felixroske.jfxsupport.AbstractFxmlView;
import de.felixroske.jfxsupport.FXMLView;

@FXMLView
public class FirstView extends AbstractFxmlView {
    public static void main(String args[]){


            String finalPath = FirstView.class.getClassLoader().getResource("config.json").getPath();;
            ChunithmOption chunithmOption = JsonUtil.jsonFile2Object(finalPath, ChunithmOption.class);
            System.out.println(chunithmOption.toString());

    }
}